package com.codedancer.campus.manager.service.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 动态导出Excel
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DynamicExcel {

    @Excel(name = "发布人", width = 30)
    private String publishUserNickName;

    @Excel(name = "发布学校", width = 50)
    private String publishSchoolName;

    @Excel(name = "动态内容", width = 150)
    private String content;

    @Excel(name = "发布圈子", width = 50)
    private String publishCircleName;

    @Excel(name = "是否开启评论", width = 30)
    private String isOpenComment;

    @Excel(name = "是否隐藏", width = 30)
    private String isHide;

    @Excel(name = "发布类型", width = 30)
    private String publishType;

    @Excel(name = "状态", width = 30)
    private String status;

    @Excel(name = "标签", width = 50)
    private String label;

    @Excel(name = "审核次数", width = 30)
    private Integer examineCount;

    @Excel(name = "浏览量", width = 30)
    private Integer viewCount;

    @Excel(name = "评论数量", width = 30)
    private Integer commentCount;

    @Excel(name = "点赞数量", width = 30)
    private Integer kudosCount;

    @Excel(name = "是否同步自由广场", width = 20, replace = {"同步_true", "未同步_false"})
    private Boolean isSyncLibertySquare;

    @Excel(name = "发布时间", width = 50, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
